import request from '@/utils/axios';
import appName from "../appName"


export function getNBlist(params) {
    return request({
      url: appName.NB+'/batchErr/page',
      method: 'post',
      data: params
    })
}

export function getTasklist(params) {
    return request({
        url: appName.TASK+'/setting/batchErr/page',
        method: 'post',
        data: params
    })
}
export function get400list(params) {
    return request({
        url: appName.TASK+'/setting/batchErr/page400',
        method: 'post',
        data: params
    })
}

export function resetErrStatusNb(params) {
    return request({
        url: appName.NB+'/batchErr/resetErrStatus',
        method: 'post',
        data: params
    })
}
export function resetErrStatusTask(params) {
    return request({
        url: appName.TASK+'/setting/batchErr/resetErrStatus',
        method: 'post',
        data: params
    })
}
export function resetErrStatus400(params) {
    return request({
        url: appName.TASK+'/setting/batchErr/resetErrStatus400',
        method: 'post',
        data: params
    })
}




